package com.yike.user.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.yike.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.yike.common.api.Update;

/**
 * 店铺支付渠道
 *
 * @author Sakura
 * @since 2024-11-15
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("qy_shop_pay_channel")
@ApiModel(value = "ShopPayChannel对象")
public class ShopPayChannel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("店铺ID")
    private Long shopId;

    @ApiModelProperty("通道id")
    private Long channelId;

    @ApiModelProperty("支付方式")
    private String payway;

    @ApiModelProperty("平台商户号")
    private String platformMchNo;

    @ApiModelProperty("支付商户号")
    private String payMchNo;

    @ApiModelProperty("服务费率")
    private BigDecimal commissionRate;

    @ApiModelProperty("appid")
    private String appId;

    @ApiModelProperty("秘钥")
    private String secretKey;

    @ApiModelProperty("url")
    private String url;

    @ApiModelProperty("状态：1启用 2禁用")
    private Integer status;

    @ApiModelProperty("备注")
    private String description;

}
